﻿using System;
using System.Security.Principal;
using System.Web;

namespace Smarly.Core
{
	[Serializable]
	public class UnknownPageException : ApplicationException
	{
		public HttpServerUtilityBase Server { get; set; } 
		public HttpRequestBase Request { get; set; }
		public IPrincipal User { get; set; }

		public UnknownPageException()
		{
		}



	}
	[Serializable]
	public class AspNetException : ApplicationException
	{
		public HttpServerUtility Server { get; set; } 
		public HttpRequest Request { get; set; }
		public IPrincipal User { get; set; }

		public Exception Ex { get; set; }

		public AspNetException(Exception ex)
		{
			Ex = ex;
		}



	}
}